#ifndef _CROSSENGINE_NETFILTER_H_
#define _CROSSENGINE_NETFILTER_H_

class NetPacket;
class Client;

class INetFilter
{
public:
    virtual ~INetFilter(){}
    virtual void OnRecvNetPacket(Client* client,const NetPacket& recvPack)=0;
};

class NetFilterManager
{
public:
    virtual ~NetFilterManager(){}
    virtual INetFilter* CreateFilter(int id){return nullptr;}
    virtual void DeleteFilter(INetFilter* filter){}
};

#endif//_CROSSENGINE_NETFILTER_H_
